<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>系统管理员</title>
        <link rel="stylesheet" href="__PUBLIC__/Leader/css/bootstrap.css">
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Leader/css/index.css" />
        <style type="text/css">
            .order-list a {
                position: relative;
            }
            .order-list span {
                float: right;
                margin-right: 20px;
            }
        </style>
    </head>
    <body>
        <include file="Index/head"/>
        <div class="wrapper main-wrapper wrapper-content ">
            <div class="page-menubar">
                <!--<div class="menu-header">系统管理</div>-->
                <ul class="order-list">
                    <li class="active">
                        <a href="{:U('Useradmin/userinfo')}"><img src="__PUBLIC__/images/ic-19.png" alt="" class="com-icon">系统管理员</a>
                    </li>
                    <li>
                        <a href="{:U('Useradmin/adduser')}"><img src="__PUBLIC__/images/ic-20.png" alt="" class="com-icon">添加用户</a>
                    </li>
                    <li>
                        <a href="{:U('pay/paysetting')}"><img src="__PUBLIC__/images/ic-21.png" alt="" class="com-icon">系统设定</a>
                    </li>
                </ul>
            </div>
            <!--主要内容-->
            <div class="page-content" style="display: block;">
                <!--内容标题-->
                <div class="page-heading" style="position:relative;">
                    <h2>管理员列表</h2>
                    <a class="btn btn-primary" href="{:U('Useradmin/adduser')}"  style="position:absolute;right: 0;top: 10px;">添加用户</a>
                </div>
                <div class="panel panel-default" style="margin-top: 20px;">
                    <div class="panel-body">
                        <table class="table table-hover table-responsive" style="text-align:center">
                            <thead>
                                <tr>
                                    <th style="text-align:center">#</th>
                                    <th style="text-align:center">用户名</th>
                                    <th style="text-align:center">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                            <volist name="us" id="vo">
                                <tr>
                                    <td>{$vo.id}</td>
                                    <td>{$vo.username}</td>
                                    <td>
                                        <a href="__CONTROLLER__/userxg/id/{$vo.id}"><i class="glyphicon glyphicon-pencil"></i></a>
                                        <a onclick="return confirm('正在删除用户，请确认')"href="__CONTROLLER__/del/id/{$vo.id}"><i class="glyphicon glyphicon-remove-sign"></i></a>
                                    </td>
                                </tr>
                            </volist>
                            </tbody>
                        </table>
                    </div>
                    {$page}
                </div>
            </div>
        </div>
    </body>
    <script src="__PUBLIC__/Leader/js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <script src="__PUBLIC__/Leader/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
</html>